package cn.tedu.demo.service;

import cn.tedu.demo.entity.Book;
import cn.tedu.demo.entity.Travel;
import cn.tedu.demo.vo.PageInfo;

import java.util.List;

public interface TravelService {

    PageInfo getByPage(PageInfo pageInfo);

    void delete(Long id);

    void deleteBatch(List<Integer> ids);


    void update(Travel travel);

    void save(Travel travel);

    Book checkBook(Integer id);
}
